﻿package GTween.as$75
{
    import flash.display.*;
    import flash.events.*;
    import flash.utils.*;

    private class HybridTicker extends EventDispatcher implements ITicker
    {
        protected var shape:Shape;

        private function HybridTicker() : void
        {
            this.shape = new Shape();
            this.shape.addEventListener(Event.ENTER_FRAME, this.tick);
            return;
        }// end function

        public function get position() : Number
        {
            return getTimer() / 1000;
        }// end function

        protected function tick(event:Event) : void
        {
            dispatchEvent(new Event("tick"));
            return;
        }// end function

    }
}
